/**
 * 定位相关接口
*/
import { http, Method } from "@/utils/request.js";

import api from "@/config/api.js";

// 获取geo页面数据
export function getGeoPage(param) {
  return http.request({
    url: "/geo/geo/getGeoPage",
    method: Method.GET,
    needToken: true,
    params: param,
  });
}
// 获取城市列表
export function getCities(pageNumber, pageSize) {
  return http.request({
    url: "/geo/geo/getCities",
    method: Method.GET,
    needToken: true,
    params: { pageNumber, pageSize },
  });
}
// 我的地址 列表关键字搜索
export function addressTextSearch(param) {
  return http.request({
    url: "/geo/geo/searchByText",
    method: Method.GET,
    needToken: true,
    params: param,
  });
}